package com.jwsoft.manager.core.dao.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 业务统计查询
 *
 * @author hhj
 * @since 2023-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("edu_sjtj01")
@Schema(name = "EduSjtj01", title = "业务统计查询", description = "业务统计查询实体类")
public class EduSjtj01 extends Model<EduSjtj01> {

    private static final long serialVersionUID = 1L;

    @Schema(name = "edusjtj01Id", title = "预报名统计ID")
    @TableId(value = "edusjtj01_id", type = IdType.INPUT)
    private Long edusjtj01Id;

    @Schema(name = "idcard", title = "学生身份证")
    @TableField(value = "idcard")
    private String idcard;

    @Schema(name = "fullName", title = "学生姓名")
    @TableField(value = "full_name")
    private String fullName;

    @Schema(name = "birthYmd", title = "出生日期")
    @TableField(value = "birth_ymd")
    private String birthYmd;

    @Schema(name = "sex", title = "性别")
    @TableField(value = "sex")
    private String sex;

    @Schema(name = "schoolId", title = "学校id")
    @TableField(value = "school_id")
    private String schoolId;

    @Schema(name = "schoolCategory", title = "学校类别")
    @TableField(value = "school_category")
    private String schoolCategory;

    @Schema(name = "studentEnrollPreId", title = "预采集id")
    @TableField(value = "student_enroll_pre_id")
    private String studentEnrollPreId;

    @Schema(name = "year", title = "年份")
    @TableField(value = "year")
    private Integer year;

    @Schema(name = "areaCode", title = "统筹区")
    @TableField(value = "area_code")
    private String areaCode;

    @Schema(name = "type", title = "查询类型")
    @TableField(value = "type")
    private String type;

    @Override
    public Serializable pkVal() {
        return this.edusjtj01Id;
    }
}
